package com.nft.service.school.feign;

import com.nft.service.school.req.SchoolPayrecordReq;
import com.nft.service.school.resp.SchoolPayrecordResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(value = "nft-service-school",contextId="payClient", path = "/payClient")
public interface ISchoolPayrecordClient {
    @RequestMapping(value = "/getList", method = RequestMethod.POST)
    public List<SchoolPayrecordResp> getList(@RequestBody SchoolPayrecordReq query);

    @RequestMapping(value = "/getUserAppPage", method = RequestMethod.POST)
    public List<SchoolPayrecordResp> getPage(@RequestBody SchoolPayrecordReq query);

    @RequestMapping(value = "/updateConsumeInfo", method = RequestMethod.POST)
    public Boolean updateConsumeInfo(@RequestBody SchoolPayrecordReq query);
}
